<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>选择器【群组+派生】</title>
		<style>
			/*选择器：群组选择器---选择所有选择器选中的元素  语法：元素选择器，类选择器，id选择器*/
			p,div,#table,.dl{
				width: 200px;
				height: 200px;
				background: #aaffff;
			}
			/*派生选择器：后代选择器---选中父元素下的所有子元素
			语法：[父]元素选择器  【子】元素选择器*/
			ul li{
				width: 100px;
				height: 100px;
				background: #aaaaff;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>好东西</li>
			<li>飞驰人生</li>
			<li>鸳鸯楼</li>
			<li>好运来</li>
		</ul>
		
		
		
		
		
		<hr>
		<!-- 块元素：特点：可以设置宽高，独占一行 -->
		<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nam, voluptatem officiis. Delectus in dolor impedit at cupiditate, dolores alias recusandae ea sapiente. Dolore similique eos suscipit sunt unde quibusdam inventore.</p>
		<div>Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati tenetur voluptatem impedit ex? Quasi voluptas, incidunt consectetur provident ut sapiente cupiditate qui veritatis nam, aliquid optio ex ullam. Laudantium, deleniti.</div>
		<h2>Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis suscipit pariatur necessitatibus neque, eum vel quae sint ipsam porro sed reprehenderit labore excepturi repudiandae dolor! Nobis sed alias explicabo ullam.</h2>
		<table id="table">
			<tr>
				<td>loerm</td>
				<td>loerm</td>
			</tr>
			<tr>
				<td>loerm</td>
				<td>lorem</td>
			</tr>
			
		</table>
	</body>
</html>